package com.lab.dao;

import com.lab.pojo.Oexperiment;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OexDao {
    List<Oexperiment> allOexperiments();//查询

    void updateOexperiment(Oexperiment o);//修改

    void addOexperiment(Oexperiment o);//添加

    void deleteOexperiment(Long[] oeId);//删除

    Oexperiment findOexById(Long oeId);//回显数据

    void passOexByLabmanager(Long[] oeId);//审核通过

    void unpassOexByLabmanager(Long[] oeId);


    void passOexByTeacher(Long[] oeId);

    void unpassOexByTeacher(Long[] oeId);
}
